<?php
namespace application\utilities;
class User {
	public static function getInteractionListings($user, $interaction) {
		$interactions = DB()->getVarArray("SELECT `ucr_content` FROM `cn_user_content_relations` WHERE `ucr_interaction`='$interaction' AND `ucr_user`='$user'");
		return $interactions;
	}
	
	public static function getAdminListings($user) {
		return self::getInteractionlistings($user, '99999');
	}
}


?>